import {email} from "@/utils/validate";

export default {
  UserName: [
    {required: true, message: '请输入账号', trigger: 'blur'}
  ],
  NickName: [
    {required: true, message: '请输入昵称', trigger: 'blur'}
  ],
  UserPassword: [
    {required: true, message: '请输入密码', trigger: 'blur'}
  ],
  RoleIDS: [
    {required: true, message: '请选择角色', trigger: 'change'}
  ],
  UserEmail: [
    {validator: email, trigger: 'blur'}
  ],
}
